

TEMPLATE = lib
TARGET = database
QT	+= xml core sql
CONFIG += dll qt thread
CONFIG -= staticlib
CONFIG+=shared
DESTDIR = $$PWD/../../../../output/zones/$$TARGET

include(../conf.pri)
include(src.pri)	
windows {
	include(../conf_windows.pri)

	LIBS += -lUser32 -lShell32 -lGdi32 -lAdvAPI32
	DEFINES += QT_STATICPLUGIN
	DEFINES += NOMINMAX # suppress min/max #defines in windows headers
	
	xmlsett.depends = FORCE
	xmlsett.commands = copy /y ..\zone-database.xml $$DESTDIR\..\
	QMAKE_EXTRA_TARGETS += xmlsett
}

LIBS += $$SDK_LIBS